package br.unip.tcc.domotic.bean;

import java.util.ArrayList;
import java.util.List;

public class EventBean extends AbstractBean {
	
	private static final long serialVersionUID = 1L;
	
	private Integer eventId;
	private String eventName;
	private Boolean eventActive;
	private List<ConditionBean> conditions = new ArrayList<ConditionBean>(0);
	private List<ActionBean> actions = new ArrayList<ActionBean>(0);
	
	public Integer getEventId() {
		return eventId;
	}
	
	public void setEventId(Integer eventId) {
		this.eventId = eventId;
	}
	
	public String getEventName() {
		return eventName;
	}
	
	public void setEventName(String eventName) {
		this.eventName = eventName;
	}
	
	public Boolean getEventActive() {
		return eventActive;
	}
	
	public void setEventActive(Boolean eventActive) {
		this.eventActive = eventActive;
	}
	
	public List<ConditionBean> getConditions() {
		return conditions;
	}
	
	public void setConditions(List<ConditionBean> conditions) {
		this.conditions = conditions;
	}
	
	public List<ActionBean> getActions() {
		return actions;
	}
	
	public void setActions(List<ActionBean> actions) {
		this.actions = actions;
	}
	
}
